package edge.display.backend;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface KEY_STORE {

    Map<String, Integer> NODE_MAP = new HashMap<String, Integer>() {
        {
            put("10.128.254.5", 1);
            put("10.128.248.253", 2);
            put("10.128.249.217", 3);
        }
    };

    Map<String, String> TASK_TYPE_ABBR_MAP = new HashMap<String, String>() {
        {
            put("Gesture Recognition", "GR");
            put("Face Recognition", "FR");
        }
    };

    List<String> TASK_COMPOSE_LIST = new ArrayList<String>() {
        {
            add("TO");
            add("FL");
            add("TR");
        }
    };

    String TASK_TIME_FORMAT = "yy-MM-dd HH:mm:ss";
    String NET_TIME_FORMAT = "HH:mm:ss";

    String TO_FLAG_LOCAL = "LC";
    String TO_FLAG_TO = "TO";

    String DEFAULT_TIMESTAMP = "timestamp";
    String TIMESTAMP_1 = "t1";
    String TIMESTAMP_2 = "t2";
    String TIMESTAMP_3 = "t3";
    String TIMESTAMP_4 = "t4";

    String DEFAULT_IDENTIFIER = "id";

    String JSON_KEY = "key";
    String JSON_VALUE = "value";
    String JSON_TASK_ARRIVE = "arriveAt";
    String JSON_TASK_OFFLOAD = "offloadTo";
    String JSON_TASK_TYPE = "type";

    String DEFAULT_SNAPSHOT_URL = "D:\\image\\%s.jpeg";

    String MSG_HELLO = "hello";
    String MSG_TASK_NEW = "result/task/new";
    String MSG_TASK_TO = "result/task/to";
    String MSG_TASK_FL = "result/task/fl";
    String MSG_NET_COMNET = "result/net/comnet";

    String WS_STAT_TASK = "statistics/task";
    String WS_STAT_NET = "statistics/net";

    String REDIS_TASK = "task_";
    String REDIS_NET = "net_";
}
